/*
 * Project: Generic Project DAO Exceptions
 * Package: com.made2ordersoftware.service.exceptions
 * File:    NonexistentEntityException
 * Created: May 22, 2010
 */
/**
 * Copyright (c) 2010 Made 2 Order Software, LLC
 *
 * All rights reserved. No part of this software may be reproduced, stored in a retrieval system, or transmitted in any
 * form or by any means, without the prior written permission of Made 2 Order Software.
 *
 * You may not distribute the URL or redistribute the files to third parties. You may transfer the files onto a single
 * storage device so long as you can prove ownership of the software. You may not reverse engineer, decompile, or
 * disassemble the software or media files. You may not modify or translate the software or media, or distribute copies
 * of the software or media without the written consent of Made 2 Order Software, LLC.
 */
package com.made2ordersoftware.service.exceptions;

/**
 * Exception thrown when trying to access an entity that does not exist in the database.
 *
 * @author David Canning <dcannin@gmail.com>
 * @version 1.0.0
 */
public class NonexistentEntityException extends Exception {

    private static final long serialVersionUID = 1L;

    /**
     * Creates an instance of <code>NonexistentEntityException</code>.
     */
    public NonexistentEntityException() {
    }

    /**
     * Creates an instance of <code>NonexistentEntityException</code> with message and the cause.
     *
     * @param message A detailed message of the exception.
     * @param cause The cause of the exception. A null value is indicates that the cause is unknown.
     */
    public NonexistentEntityException(String message, Throwable cause) {
        super(message, cause);
    }

    /**
     * Creates an instance of <code>NonexistentEntityException</code> with the cause.
     *
     * @param cause The cause of the exception. A null value is indicates that the cause is unknown.
     */
    public NonexistentEntityException(Throwable cause) {
        super(cause);
    }

    /**
     * Creates an instance of <code>NonexistentEntityException</code> with a message.
     *
     * @param message A detailed message of the exception.
     */
    public NonexistentEntityException(String message) {
        super(message);
    }
}
